'use strict'
//角色基础信息
class BasicInfo {
    constructor(opts) {
      opts = opts || {}
        this.name = opts.name
        this.money = opts.money || 0
        this.gold = opts.gold || 0
        this.state = opts.state || 0
        this.lvl = opts.lvl || 1
        this.mapId = opts.mapId || 110001 //地图id
        this.dungeonIndex = opts.dungeonIndex || 0 //副本关卡
    }
}

module.exports = BasicInfo
